import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";


import axios from "axios";
Vue.prototype.$axios = axios;

import ElementUI from "element-ui";
import "element-ui/lib/theme-chalk/index.css";
Vue.use(ElementUI);

import http from "./http/http.js";
Vue.prototype.$http = http;
//引入封装的http方法 并挂载为全局的方法
Vue.config.productionTip = false;

new Vue({
    router,
    store,
    render: (h) => h(App),
}).$mount("#app");